package com.jumi.microservice.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.math.*;
import java.util.Date;

/**
 * @author by  mazhao
 * @Date 2020-11-12 
 */

@TableName("user_order")
public class UserOrder {

	/**
	 * ID
	 */
   @TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 订单编号
	 */
	private String orderNo;

	/**
	 * 买家ID
	 */
	private Long buyerId;

	/**
	 * 邀请人ID
	 */
	private Long inviteId;

	/**
	 * 买家角色
	 */
	private Byte buyerRole;

	/**
	 * 订单状态 0-已取消 1-待付款 2-待发货 3-待收货 4-已完成
	 */
	private Byte orderStatus;

	/**
	 * 订单类型 1-用户订单 3-预售订单
	 */
	private Byte orderType;

	/**
	 * 订单团购价
	 */
	private BigDecimal orderPromotionAmount;

	/**
	 * 运费
	 */
	private BigDecimal freightFee;

	/**
	 * 订单会员价
	 */
	private BigDecimal orderAmount;

	/**
	 * 支付金额
	 */
	private BigDecimal payAmount;

	/**
	 * 支付类型：0-未支付 1-支付宝支付 2-微信支付 3-余额支付 4-聚合支付 5-支付宝H5支付 6-微信H5支付 7-微信小程序支付
	 */
	private Byte payType;

	/**
	 * 支付时间
	 */
	private Date payTime;

	/**
	 * 支付单号
	 */
	private String payNo;

	/**
	 * 第三方支付单号
	 */
	private String thirdPartyPaySn;

	/**
	 * 支付失效时间
	 */
	private Date failureTime;

	/**
	 * 收件人姓名
	 */
	private String receiverName;

	/**
	 * 收货人手机号
	 */
	private String receiverPhone;

	/**
	 * 收货人地址
	 */
	private String receiverAddress;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 自动收货时间
	 */
	private Date confirmTime;

	/**
	 * 是否已评价
	 */
	private Byte commentFlag;

	/**
	 * 发票ID
	 */
	private Integer invoiceId;

	/**
	 * 下单时间
	 */
	private Date createTime;

	/**
	 * 修改时间
	 */
	private Date updateTime;

	/**
	 * 删除标识（0 未删除 1已删除）
	 */
	private Byte delFlag;

	/**
	 * 海外商品真实姓名
	 */
	private String impRealName;

	/**
	 * 海外商品身份证号
	 */
	private String impCardNo;

	/**
	 * 用户ip地址
	 */
	private String clientIp;

	/**
	 * 下单的平台
	 */
	private Byte platformType;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Long getBuyerId() {
		return this.buyerId;
	}

	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}

	public Long getInviteId() {
		return this.inviteId;
	}

	public void setInviteId(Long inviteId) {
		this.inviteId = inviteId;
	}

	public Byte getBuyerRole() {
		return this.buyerRole;
	}

	public void setBuyerRole(Byte buyerRole) {
		this.buyerRole = buyerRole;
	}

	public Byte getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(Byte orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Byte getOrderType() {
		return this.orderType;
	}

	public void setOrderType(Byte orderType) {
		this.orderType = orderType;
	}

	public BigDecimal getOrderPromotionAmount() {
		return this.orderPromotionAmount;
	}

	public void setOrderPromotionAmount(BigDecimal orderPromotionAmount) {
		this.orderPromotionAmount = orderPromotionAmount;
	}

	public BigDecimal getFreightFee() {
		return this.freightFee;
	}

	public void setFreightFee(BigDecimal freightFee) {
		this.freightFee = freightFee;
	}

	public BigDecimal getOrderAmount() {
		return this.orderAmount;
	}

	public void setOrderAmount(BigDecimal orderAmount) {
		this.orderAmount = orderAmount;
	}

	public BigDecimal getPayAmount() {
		return this.payAmount;
	}

	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public Byte getPayType() {
		return this.payType;
	}

	public void setPayType(Byte payType) {
		this.payType = payType;
	}

	public Date getPayTime() {
		return this.payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public String getPayNo() {
		return this.payNo;
	}

	public void setPayNo(String payNo) {
		this.payNo = payNo;
	}

	public String getThirdPartyPaySn() {
		return this.thirdPartyPaySn;
	}

	public void setThirdPartyPaySn(String thirdPartyPaySn) {
		this.thirdPartyPaySn = thirdPartyPaySn;
	}

	public Date getFailureTime() {
		return this.failureTime;
	}

	public void setFailureTime(Date failureTime) {
		this.failureTime = failureTime;
	}

	public String getReceiverName() {
		return this.receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

	public String getReceiverPhone() {
		return this.receiverPhone;
	}

	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}

	public String getReceiverAddress() {
		return this.receiverAddress;
	}

	public void setReceiverAddress(String receiverAddress) {
		this.receiverAddress = receiverAddress;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getConfirmTime() {
		return this.confirmTime;
	}

	public void setConfirmTime(Date confirmTime) {
		this.confirmTime = confirmTime;
	}

	public Byte getCommentFlag() {
		return this.commentFlag;
	}

	public void setCommentFlag(Byte commentFlag) {
		this.commentFlag = commentFlag;
	}

	public Integer getInvoiceId() {
		return this.invoiceId;
	}

	public void setInvoiceId(Integer invoiceId) {
		this.invoiceId = invoiceId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Byte getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(Byte delFlag) {
		this.delFlag = delFlag;
	}

	public String getImpRealName() {
		return this.impRealName;
	}

	public void setImpRealName(String impRealName) {
		this.impRealName = impRealName;
	}

	public String getImpCardNo() {
		return this.impCardNo;
	}

	public void setImpCardNo(String impCardNo) {
		this.impCardNo = impCardNo;
	}

	public String getClientIp() {
		return this.clientIp;
	}

	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}

	public Byte getPlatformType() {
		return this.platformType;
	}

	public void setPlatformType(Byte platformType) {
		this.platformType = platformType;
	}

}
